<html>
<head><meta charset="utf-8"><title>git changes · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/git.20changes.html">git changes</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="209535368"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/git%20changes/near/209535368" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> hossein dindar <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/git.20changes.html#209535368">(Sep 09 2020 at 16:33)</a>:</h4>
<p>Hi guys, when I cloned the rust repo and opened it in vscode, I see 355 changes in the git log<br>
can anyone please explain to me why it is happening? is it ok?</p>



<a name="209536383"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/git%20changes/near/209536383" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/git.20changes.html#209536383">(Sep 09 2020 at 16:42)</a>:</h4>
<p>Which files are changed?</p>



<a name="209536488"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/git%20changes/near/209536488" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> hossein dindar <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/git.20changes.html#209536488">(Sep 09 2020 at 16:43)</a>:</h4>
<p><a href="/user_uploads/4715/amV2eHHm_SgNwfl_ZtuwoNDs/Screen-Shot-2020-09-09-at-9.12.59-PM.png">Screen-Shot-2020-09-09-at-9.12.59-PM.png</a></p>
<div class="message_inline_image"><a href="/user_uploads/4715/amV2eHHm_SgNwfl_ZtuwoNDs/Screen-Shot-2020-09-09-at-9.12.59-PM.png" title="Screen-Shot-2020-09-09-at-9.12.59-PM.png"><img src="/user_uploads/4715/amV2eHHm_SgNwfl_ZtuwoNDs/Screen-Shot-2020-09-09-at-9.12.59-PM.png"></a></div>



<a name="209536595"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/git%20changes/near/209536595" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> kennytm <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/git.20changes.html#209536595">(Sep 09 2020 at 16:44)</a>:</h4>
<p><code>git submodule update --init --recursive</code> ?</p>



<a name="209536737"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/git%20changes/near/209536737" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/git.20changes.html#209536737">(Sep 09 2020 at 16:45)</a>:</h4>
<p>x.py check should also update submodules for you</p>



<a name="209537670"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/git%20changes/near/209537670" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/git.20changes.html#209537670">(Sep 09 2020 at 16:53)</a>:</h4>
<p>Those changes don't look like the normal submodule problem, I would try a git clean and git reset --hard, or just deleting the whole directory and recloning</p>



<a name="209541283"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/git%20changes/near/209541283" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> hossein dindar <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/git.20changes.html#209541283">(Sep 09 2020 at 17:21)</a>:</h4>
<p>thanks guys, I am trying x.py check, waiting for download llvm stuff</p>



<a name="209543839"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/git%20changes/near/209543839" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pachi <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/git.20changes.html#209543839">(Sep 09 2020 at 17:39)</a>:</h4>
<p><span class="user-mention" data-user-id="326330">@hossein dindar</span>  Those are "U" (untracked) files, probably artifacts of running or building something in there, and that are now matching any .gitignore patterns</p>



<a name="209544920"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/git%20changes/near/209544920" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> hossein dindar <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/git.20changes.html#209544920">(Sep 09 2020 at 17:47)</a>:</h4>
<p><span class="user-mention" data-user-id="125416">@pachi</span>  aa so what should I do? <span aria-label="sweat smile" class="emoji emoji-1f605" role="img" title="sweat smile">:sweat_smile:</span> I did not  build the project, when I cloned there was 355 changes<br>
I am now trying git submodule update --init --recursive to see what happens</p>



<a name="209545082"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/git%20changes/near/209545082" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pachi <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/git.20changes.html#209545082">(Sep 09 2020 at 17:48)</a>:</h4>
<p>I'm not sure what rustc developers do! In smaller projects I just add those to .gitignore or just skip that information (if you do changes in tracked files they'll show as "M" (modified" files)</p>



<a name="209545195"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/git%20changes/near/209545195" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pachi <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/git.20changes.html#209545195">(Sep 09 2020 at 17:49)</a>:</h4>
<p>And maybe updating submodules fixes it (as it's a bit strange that a freshly cloned repo has modified files)</p>



<a name="209545200"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/git%20changes/near/209545200" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/git.20changes.html#209545200">(Sep 09 2020 at 17:49)</a>:</h4>
<p>I wonder if your editor is (incorrectly) attempting to build things throughout the repo</p>



<a name="209545202"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/git%20changes/near/209545202" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> hossein dindar <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/git.20changes.html#209545202">(Sep 09 2020 at 17:49)</a>:</h4>
<p>yeah exactly but because I am new to contribution on rust I did not want to make any changes that cause a break</p>



<a name="209545449"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/git%20changes/near/209545449" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pachi <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/git.20changes.html#209545449">(Sep 09 2020 at 17:51)</a>:</h4>
<p>Maybe you have some antivirus scanner o something like it that is generating those _metadata and .bin files?<br>
Those could be some indexing artifacts</p>



<a name="209545509"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/git%20changes/near/209545509" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> hossein dindar <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/git.20changes.html#209545509">(Sep 09 2020 at 17:52)</a>:</h4>
<p>yeah maybe it is because of editor, I am waiting for fetching llvm-project because I ran git submodule update --init --recursive command</p>



<a name="209545532"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/git%20changes/near/209545532" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> hossein dindar <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/git.20changes.html#209545532">(Sep 09 2020 at 17:52)</a>:</h4>
<p>no no, I am on Mac, I don't have any antivirus</p>



<a name="209545589"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/git%20changes/near/209545589" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pachi <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/git.20changes.html#209545589">(Sep 09 2020 at 17:52)</a>:</h4>
<p>Which editor are you using? It looked like VSCode</p>



<a name="209545601"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/git%20changes/near/209545601" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> hossein dindar <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/git.20changes.html#209545601">(Sep 09 2020 at 17:53)</a>:</h4>
<p>yes it is VsCode</p>



<a name="209545742"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/git%20changes/near/209545742" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> hossein dindar <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/git.20changes.html#209545742">(Sep 09 2020 at 17:54)</a>:</h4>
<p>actually, I think this is because of caching or something, because last weeks I cloned one time the repo and made build command but my network got a problem and I deleted repo and cloned again, maybe these changes are from that</p>



<a name="209545764"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/git%20changes/near/209545764" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pachi <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/git.20changes.html#209545764">(Sep 09 2020 at 17:54)</a>:</h4>
<p>If they are generated files from your system (maybe timemachine or any other Mac'y thing), you could add an appropriate global ignore file (in your ~/.gitignore_global file for something_metadata and .bin files, if these are not existing rustc files)</p>



<a name="209545891"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/git%20changes/near/209545891" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> hossein dindar <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/git.20changes.html#209545891">(Sep 09 2020 at 17:55)</a>:</h4>
<p>no actually most of them are for clippy and doc and other things</p>



<a name="209547549"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/git%20changes/near/209547549" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> hossein dindar <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/git.20changes.html#209547549">(Sep 09 2020 at 18:09)</a>:</h4>
<p>the problem was caching :)))<br>
I created another folder with different name and now there is no change in git log<br>
sorry guys :(<br>
thanks for helping</p>



<a name="209584392"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/git%20changes/near/209584392" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> DPC <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/git.20changes.html#209584392">(Sep 10 2020 at 00:16)</a>:</h4>
<p>nothing to be sorry about <span aria-label="smile" class="emoji emoji-1f642" role="img" title="smile">:smile:</span></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>